package com.nbgroup.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商机表
 * </p>
 *
 * @author author
 * @since 2024-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("business")
@ApiModel(value="Business对象", description="商机表")
public class Business implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "客户的职业")
    private Integer job;

    @ApiModelProperty(value = "客户的专业")
    private Integer major;

    @ApiModelProperty(value = "客户名字")
    private String name;

    @ApiModelProperty(value = "下次跟进时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nextTime;

    private Integer occupation;

    @ApiModelProperty(value = "其他意向")
    private String otherIntention;

    @ApiModelProperty(value = "归属人姓名")
    private String owner;

    @ApiModelProperty(value = "归属时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ownerTime;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "职业计划")
    private String plan;

    @ApiModelProperty(value = "时间计划")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planTime;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty("微信")
    private String weixin;

    @ApiModelProperty(value = "学习原因")
    private String reasons;

    @ApiModelProperty(value = "当前工资")
    private Integer salary;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "活动id")
    private Long activityId;

    @ApiModelProperty(value = "活动信息")
    private String activityInfo;

    @ApiModelProperty(value = "活动名")
    private String activityName;

    @ApiModelProperty(value = "用户年龄")
    private Integer age;

    @ApiModelProperty(value = "分配人")
    private String assignBy;

    @ApiModelProperty(value = "分配时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime assignTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "学历")
    private Integer education;

    @ApiModelProperty(value = "期望工资")
    private Integer expectSalary;

    @ApiModelProperty(value = "?次数")
    private Integer falseCount;

    @ApiModelProperty(value = "商机状态")
    private Integer status;

    @ApiModelProperty(value = "意向学科")
    private Integer subject;

    @ApiModelProperty(value = "渠道")
    private Integer channel;

    @ApiModelProperty(value = "线索id")
    private Long clueId;

    @ApiModelProperty(value = "课程id")
    private Long courseId;

    @ApiModelProperty(value = "归属人id")
    private Long userId;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty("省")
    private String provinces;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("标记")
    private String remark;


}
